package com.geotmt.billingcenter.modules.rules.service;

import com.geotmt.billingcenter.common.entry.StairRule;

import java.util.List;

/**
 * @Description 计费规则类（阶梯计费，包年计费 ...）
 * @Author      yanghanwei
 * @Mail        yanghanwei@geotmt.com
 * @Date        2019/3/25 17:22
 * @Version     v1
 **/
public interface RulesService {

    /**
     * add Stair
     * @param stairRule
     * @return
     */
    Integer addStair(StairRule stairRule);

    /**
     * 根据rid 阶梯规则List
     * @param rId
     * @param label
     * @return
     */
    List<StairRule> stairListGetByRid(Integer rId, Integer label);

}
